package cn.caplike.demo.shiro.quickstart;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Description: 访问控制器.
 *
 * @author LiKe
 * @version 1.0.0
 * @date 2021-04-06 11:11
 */
@Slf4j
@RequestMapping("/access")
@RestController
public class AccessController {

    @RequestMapping("/do")
    public String doAccess() {
        log.debug("AccessController#doAccess");
        return "Accessed";
    }

}
